@namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul");
listbox{
-moz-appearance:none;
margin:2px 4px;
background:343535}

listbox[disabled="true"]{
color:#bbbfc5}

listitem{
border:2px solid transparent}

listitem:hover{
background-color:rgba(0,0,0,.3)}

listbox:focus > listitem[selected="true"][current="true"]{
outline:1px dotted rgba(255,255,255,.2)}

listbox:focus > listitem[current="true"]{
outline:1px dotted transparent;
outline-offset:-1px}

listbox:focus > listitem[selected="true"],listitem[selected="true"]{
background-color:#000}

listbox:focus > listitem[selected="true"] > listcell > .listcell-label,
listitem[selected="true"] > listcell > .listcell-label,
listitem:hover > listcell > .listcell-label{
color:white}

listheader{
-moz-appearance:treeheadercell;
-moz-box-align:center;
border:2px solid;
-moz-border-top-colors:ThreeDHighlight ThreeDLightShadow;
-moz-border-right-colors:ThreeDDarkShadow ThreeDShadow;
-moz-border-bottom-colors:ThreeDDarkShadow ThreeDShadow;
-moz-border-left-colors:ThreeDHighlight ThreeDLightShadow;
background-color:transparent;
color:-moz-DialogText;
padding:0 4px}

listheader[sortable="true"]:hover:active{
border-top:2px solid;
border-right:1px solid;
border-bottom:1px solid;
border-left:2px solid;
-moz-border-top-colors:ThreeDShadow -moz-Dialog;
-moz-border-right-colors: ThreeDShadow;
-moz-border-bottom-colors:ThreeDShadow;
-moz-border-left-colors:ThreeDShadow -moz-Dialog;
padding-top:1px;
padding-bottom:0px;
-moz-padding-start:5px;
-moz-padding-end:4px}

.listheader-icon{
-moz-margin-end:2px}

.listheader-label{
margin:0px!important}

.listheader-sortdirection{
list-style-image:none}

.listheader-sortdirection[sortDirection="ascending"]{
list-style-image: url("chrome://global/skin/tree/sort-asc.gif")}

.listheader-sortdirection[sortDirection="descending"]{
list-style-image: url("chrome://global/skin/tree/sort-dsc.gif")}

.listcell-label{
margin:0!important;
padding-top:0;
padding-bottom:1px;
-moz-padding-start:4px;
-moz-padding-end:0;
white-space:nowrap}

.listcell-icon{
-moz-margin-end:2px}

.listcell-label[disabled="true"]{
color:GrayText}

.listcell-check{
-moz-appearance:none;
-moz-box-align:center;
border:2px solid;
-moz-border-top-colors:ThreeDDarkShadow #dbdddf;
-moz-border-right-colors:ThreeDDarkShadow #dbdddf;
-moz-border-bottom-colors:ThreeDDarkShadow #dbdddf;
-moz-border-left-colors:ThreeDDarkShadow #dbdddf;
min-width:13px;
min-height:13px;
background:transparent url("chrome://global/skin/checkbox/cbox-bg.png") no-repeat}

.listcell-check{
background:url("chrome://global/skin/checkbox/cbox-bg-hover.png") no-repeat}

.listcell-check[checked="true"]{
background-image:url("chrome://global/skin/checkbox/cbox-bg-checked.png")}

.listcell-check[checked="true"]:hover:active,.listcell-check[checked="true"]{
-moz-border-top-colors:ThreeDDarkShadow #efd5a4;
-moz-border-right-colors:ThreeDDarkShadow #efd5a4;
-moz-border-bottom-colors:ThreeDDarkShadow #efd5a4;
-moz-border-left-colors:ThreeDDarkShadow #efd5a4}

.listcell-check[disabled="true"]{
-moz-border-top-colors:ThreeDDarkShadow #9b9b9b;
-moz-border-right-colors:ThreeDDarkShadow #9b9b9b;
-moz-border-bottom-colors:ThreeDDarkShadow #9b9b9b;
-moz-border-left-colors:ThreeDDarkShadow #9b9b9b;
background-image:url("chrome://global/skin/checkbox/cbox-bg-disabled.png")!important}

.listcell-check[disabled="true"][checked="true"]{
background-image:url("chrome://global/skin/checkbox/cbox-bg-checked-disabled.png")!important}